package com.tuweiya.study.springboot001.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/hello")
public class HelloController {

    @RequestMapping(value = "/sayHello")
    public String sayHello(){
        return "Greeting from Spring Boot!";
    }
}
